
ifeq ($(NOOS), y)
export WITH_OS = n
else
export WITH_OS = y
endif

ifeq ($(PLAT), stm32f10x)
LD_FILE = system/platform/stm32f10x/core/stm32_flash.ld
CHIP_CFLAGS = -mcpu=cortex-m3 -mthumb -D STM32F10X_HD -D USE_STDPERIPH_DRIVER
CHIP_LDFLAGS = -T$(LD_FILE) -mthumb -mcpu=cortex-m3 -Wl,--defsym=malloc_getpagesize_P=0x80
export LD_FILE
endif

